package cn.tedu.charging.user.service.impl;

import cn.tedu.charging.common.pojo.vo.UserInfoVO;
import cn.tedu.charging.user.mapper.UserGetInfoMapper;
import cn.tedu.charging.user.pojo.vo.User;
import cn.tedu.charging.user.service.UserService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class UserServiceImpl implements UserService {
    @Autowired
    private UserGetInfoMapper userGetInfoMapper;
    @Override
    public UserInfoVO getUserInfo(Integer userId) {
        log.debug("获取用户车辆id业务,参数:{}",userId);
        return userGetInfoMapper.getUserInfo(userId);
        //userGetInfoMapper.

        /*UserInfoVO userInfoVO=new UserInfoVO();
        userInfoVO.setVehicleId(6667);
        return userInfoVO;*/
    }
}
